#define _CRT_SECURE_NO_WARNINGS 1
#include"slist.h"
void test1()
{
	LT* plist = LTInit();
    LTPushback(plist, 1);
	LTPushback(plist, 2);
	LTPushback(plist, 3);
	LTPushback(plist, 4);
	LTPushback(plist, 5);
	LTPopback(plist);
	LTPrint(plist);
	LTPushfront(plist, 100);
	LTPrint(plist);
	LTPopfront(plist);
	LTPrint(plist);
	LT* pos = LTFind(plist,3);
	LTInsert(pos, 50);
	LTPrint(plist);
	LTErase(plist->next);
	LTPrint(plist);
	LTDestroy(plist);
	plist = NULL;
}
int main()
{
	test1();
	return 0;
}